package com.zoweunion.mechanic.entity;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data // lombok注解
@Component // 将此类加载到spring容器中
@ConfigurationProperties(prefix = "obs") // 与配置文件中obs的前缀对应
public class ObsConfigProperties {
    private String endPoint;
    private String ak;
    private String sk;
    private String bucketName;
}

